package com.oceansoft.core.jxkh.dao;

import com.hui.platform.system.exception.HuiException;
import com.oceansoft.core.common.util.Pagination;
import com.oceansoft.core.domain.SysUser;
import com.oceansoft.core.jxkh.domain.Evaluation;
import com.oceansoft.core.jxkh.domain.MyMark;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Administrator on 2017/10/24.
 */
public interface IEvaluationDao {
    List<Map<String, Object>> getStatisticsDept(String deptId)throws HuiException;

    List<Map<String, Object>> getStatisticsUser(String deptId)throws HuiException;

    Pagination<MyMark> myEvaluation(HashMap<Object,Object> map)throws HuiException;

    MyMark findMonthZpByDbid(int dbid)throws HuiException;

    void editMonthZp(MyMark myMark)throws HuiException;

    void selfEvaluation(Evaluation evaluation)throws HuiException;

    void leaderEvaluation(Evaluation evaluation)throws HuiException;

    List<Evaluation> leaderElist(HashMap<String, String> map, SysUser user)throws Exception;

    void leaderConfirm(String dbid)throws HuiException;

    Evaluation findEvaluation(int dbid);
}
